.overlay {
  position: fixed;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;

  background: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.title {
  padding: 19px 160px 19px 20px;
  margin: 0;
  margin-bottom: 20px;

  font-family: var(--font-family-PT-Sans);
  font-weight: var(--font-weight-bold);
  font-size: 18px;
  line-height: 27px;

  border-bottom: 1px solid var(--color-athens-gray);
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  display: flex;
  flex-direction: column;

  width: 375px;
  height: 100%;

  background: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.modal.slideIn {
  transform: translateX(0);
}

.closeButton {
  position: absolute;
  top: 15px;
  right: 14px;

  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.img {
  width: 155px;
  height: 30px;
}

.link__img {
  margin: auto 20px 17px auto;
}
